var to_promote = new Vue({
	el: "#app",
	data: {
		list: [{
			img: '../static/img/my_promotion/promotion_code.png',
			text: '推广码'
		}, {
			img: '../static/img/my_promotion/my_user.png',
			text: '我的用户'
		}, {
			img: '../static/img/my_promotion/the_trade_order.png',
			text: '交易订单'
		}, ]
	},
	//计算属性	
	computed: {},
	//监听属性
	watch: {},
	//钩子函数	
	created() {

	},
	mounted() {

	},
	methods: {
		click_tab(index) {
			if (index === 1) {
				window.location.href = "my_user.html"
			} else if (index === 2) {
				window.location.href = "the_trade_order.html"
			}
		}

	}
})
